<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo1</title>
</head>
<body>
<div id="app-2">
  <span v-bind:title="message" style="cursor: pointer;">
    Hover your mouse over me for a few seconds
    to see my dynamically bound title!
  </span>
  <input v-model="message">
</div>
<script src="vue.js"></script>
<script>
    var app2 = new Vue({
        el: '#app-2',
        data: {
            message: 'You loaded this page on ' + new Date().toLocaleString()
        }
    })
</script>
</body>
</html>